package exo1;

import exception.CompteFermeException;
import exception.CompteNonTransferableException;
import exception.CreditSurPlafondException;
import exception.DebitNonAutoriseException;
import exception.DebitSousSeuilException;

public abstract class CompteSansLimite extends Compte {

	public CompteSansLimite(Personne nom, int numero, double solde, int type) {
		super(nom, numero, solde, type);
	}

	public abstract boolean transferer(Compte compte, double montant)
			throws DebitNonAutoriseException, DebitSousSeuilException,
			CreditSurPlafondException, CompteFermeException,CompteNonTransferableException;

	public abstract boolean debiter(double montant)
			throws DebitNonAutoriseException, DebitSousSeuilException,
			CompteFermeException;

	public abstract boolean crediter(double montant)
			throws CreditSurPlafondException, CompteFermeException;
}
